From 23cb6e01448f86d1b5e81c3baccd54064c9b0028 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 6 Feb 2006 16:32:23 +0100 Subject: [PATCH] Clean up -g in CFLAGS. Signed-off-by: Keir Fraser --- xen/Rules.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xen/Rules.mk b/xen/Rules.mk index a0daaaca8f..25478ec434 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -1,3 +1,4 @@ + # # If you change any of these configuration options then you must # 'make clean' before rebuilding. @@ -44,20 +45,19 @@ ALL_OBJS += $(BASEDIR)/arch/$(TARGET_ARCH)/arch.o include $(BASEDIR)/arch/$(TARGET_ARCH)/Rules.mk +CFLAGS += -g + ifneq ($(debug),y) CFLAGS += -DNDEBUG ifeq ($(verbose),y) CFLAGS += -DVERBOSE endif else -CFLAGS += -g -DVERBOSE +CFLAGS += -DVERBOSE endif -# There is no real reason to compile without it -CFLAGS += -g - ifeq ($(crash_debug),y) -CFLAGS += -g -DCRASH_DEBUG +CFLAGS += -DCRASH_DEBUG endif ifeq ($(perfc),y) -- 2.30.2